package com.kili.recommend.data.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kili.recommend.data.dto.CalculateScoreDto;
import com.kili.recommend.data.service.RecommendService;
import com.kili.recommend.data.entity.Recommend;
import com.kili.recommend.data.mapper.RecommendMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 推荐数据源 服务实现类
 * </p>
 *
 * @author fenny
 * @since 2019-08-27
 */
@Service
public class RecommendServiceImpl extends ServiceImpl<RecommendMapper, Recommend> implements RecommendService {


    @Override
    public List<Recommend> calculateScore(CalculateScoreDto dto) {
        return baseMapper.calculateScore(dto);
    }
}
